#ifndef ZIKU_H
#define ZIKU_H

#include "stc8h.h"
#include "stdint.h"

extern xdata unsigned char  Disp_Tab[16];
extern xdata unsigned char  Disp_Tab1[16];
extern xdata unsigned char  Disp_Tab2[16];
extern xdata unsigned char  Disp_Tab3[16];
extern xdata unsigned char  Disp_Tab4[16];
extern xdata unsigned char  Disp_Tab5[16];

void Delay10us(volatile uint16_t i10us);  
void DelayMS(volatile uint16_t iMs);

void Ht1621Wr_Data(uint8_t Data,uint8_t cnt);
void Ht1621Wr_Data00(uint8_t Data);

void Ht1621WrCmd(uint8_t Cmd);

void Ht1621WrOneData(uint8_t Addr,uint8_t Data);

void Ht1621WrAllData(uint8_t Addr,uint8_t *p,uint8_t cnt);
void Ht1621WrAllData00(uint8_t Addr,uint8_t p);

void Ht1621_Init(void);


#endif // ZIKU_H